#ifndef WINCLOSEBUTTON_H
#define WINCLOSEBUTTON_H

#include "InteractiveButtonBase.h"

class WinCloseButton final : public InteractiveButtonBase {
public:
    explicit WinCloseButton(QWidget *parent = nullptr);

    void setTopRightRadius(const int& r);

protected:
    void paintEvent(QPaintEvent *event) override;

    QPainterPath getBgPainterPath() override;

    QPainterPath getWaterPainterPath(Water water) override;

private:
    int tr_radius;
};

#endif // WINCLOSEBUTTON_H
